import pandas as pd

data = pd.read_json('arms.json')
trace_apps = data['TraceApps']
selected_keys = ["AppName", "Language", "AppId"]
filtered_data = [{key: app.get(key, None) for key in selected_keys} for app in trace_apps]
df = pd.DataFrame(filtered_data)
df.to_excel('trace_apps_filtered.xlsx', index=False)